package com.myapp.mobilesafe.receiver;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.widget.Toast;

import com.myapp.mobilesafe.utils.ProcessInfoUtils;

public class KillProcessReceiver extends BroadcastReceiver {
    public KillProcessReceiver() {
    }

    @Override
    public void onReceive(Context context, Intent intent) {
        ProcessInfoUtils.killAll(context);
        Toast.makeText(context,"加速成功！！！",Toast.LENGTH_SHORT).show();
    }
}
